<div class="body">
  <div class="home">
    <div class="article">
<!--      <router-outlet></router-outlet>-->
      <!--    <router-outlet name="details"></router-outlet>-->
      <div class="main">
        <div class="essay" *ngFor="let article of articles">
          <div class="title">
            <h3>{{article.title}}</h3>
          </div>
          <div class="overview">
            <p><a [routerLink]="['detail',article.index]">{{article.overview}}<span>阅读更多...</span></a></p>
          </div>
        </div>
      </div>

    </div>
  </div>
  <div class="topic">
    <div class="name">
      {{name}}
    </div>
    <div class="nums">
      共{{nums}}篇
    </div>
  </div>
</div>

